package com.peanut.baby.mvp.livedetail.group;

import com.peanut.baby.model.BBSComment;
import com.peanut.baby.model.LiveGroupRel;
import com.peanut.baby.model.LiveMsg;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/22.
 */

public interface LiveDetailGroupContract {
    interface View extends BaseView{
        void onRequestFailed(String code, String reason);
        void onJoinSuccess(String roomIds);
        void onMessageListGet(List<LiveMsg> list);
        void onLiveRoomsGet(List<LiveGroupRel> list);
    }
    interface Presenter extends BasePresenter{
        void joinRooms(String roomIds,String points);
        void messageListGet(String roomId);
        void messageListGetByGroupId(String groupId);
        void getLiveRoomsByGroupId(String groupId);
    }
}
